body {
    padding: 0px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #e02e24
}

pre {
    margin: 0px;
    padding: 0px;
}

textarea {
    border: 1px solid #D3D3D3;
    border-radius: 2px;
}

table {
    border-collapse: collapse;
}

table th {
    font-weight: normal;
    color: #383838;
    text-align: right;
}

.wrap_search{margin: 8px 0px;}
.wrap_search .search_item{display: inline-block;height: 28px; line-height: 28px;overflow: hidden;}
.wrap_search .search_item .item_text, .wrap_search .search_item .item_obj{display: inline-block;height: 20px; line-height: 20px;padding-bottom:6px;overflow: hidden;}

.wrap_search .search_item {
    width: 200px;
}

.wrap_search .search_item .item_text {
    width: 80px;
    text-align: right;
}

.wrap_search .search_item .item_obj {}

.wrap_search .search_item.search_between {
    display: inline-block;
    width: 400px;
}

.wrap_search input,
select {
    width: 100px;
}

.addPage table,
.updatePage table,
.detailPage table {
    width: 100%;
    margin: 10px 0px;
}

.addPage table td,
.updatePage table td,
.detailPage table td {
    padding: 5px;
}

.addPage table th,
.updatePage table th,
.detailPage table th {
    padding: 5px;
    width: 120px;
}

.addPage table th span,
.updatePage table th span,
.detailPage table th span {
    display: inline-block;
    width: 110px;
}

.addPage table td input,
.updatePage table td input {
    border: 1px solid #D3D3D3;
    border-radius: 0px;
    width: 100%;
    height: 100%;
}

.addPage table td textarea,
.updatePage table td textarea {
    border: 1px solid #D3D3D3;
    width: 100%;
}

.detailPage .valueSpan {
    display: inline-block;
    word-break: break-all;
    line-height: 18px;
    padding: 4px;
}

.detailPage.multiple .valueSpan {
    display: inline-block;
    min-width: 140px;
    max-width: 220px;
    word-break: break-all;
}

.add_content input.box {
    width: 13px;
}

.datagrid-btable .operate {
    padding: 2px;
}

.wrap_input {
    height: 28px;
    padding: 2px 15px 2px 2px;
}

.wrap_input.textarea {
    height: auto;
    padding-right: 20px;
}

.multiple .wrap_input {
    width: 200px;
}

.wrap_input input.validatebox-invalid {
    border-color: #ffa8a8;
}


/**弹窗遮布背景**/

.window-proxy-mask,
.window-mask {
    background: #000000;
}

.window-mask {
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.detail_page .item {
    display: inline-block;
    min-width: 100px;
    max-width: 180px;
}

.datagrid-header-row,
.datagrid-row {
    height: 29px;
}


/** 列表中的图片 **/

.datagrid-body .dg_img {
    max-width: 200px;
    height: 50px;
    padding-top: 5px;
}

.textbox-focused {
    border-color: #e02e24;
    -moz-box-shadow: 0 0 1px 0 #D3D3D3;
    -webkit-box-shadow: 0 0 1px 0 #D3D3D3;
    box-shadow: 0 0 1px 0 #D3D3D3;
}


/**调整tabs样式**/

.tabs li a.tabs-inner {
    border-radius: 0px;
}

.tabs-header,
.tabs-tool {
    background-color: #D9DEE4;
    padding-top: 4px;
}

.tabs li.tabs-selected * {
    color: #e02e24;
}

.tabs li.tabs-selected a.tabs-inner {
    border-bottom: 1px solid #fff;
}

.tabs li a.tabs-close {
    background-position-x: 1000px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    line-height: 10px;
}

.tabs li .tabs-close:before {
    content: "x";
}


/**table**/

.datagrid-header td,
.datagrid-body td,
.datagrid-footer td {
    border-color: #EAEDF1;
    border-style: solid;
}

.datagrid-header,
.datagrid-td-rownumber {
    background-color: #f5f5f5;
    background: #f5f5f5;
}


/**调整window样式**/

.window-thinborder .window-header {
    padding: 8px 8px;
}

.l-btn {
    border-radius: 2px;
    padding: 1px 4px;
    margin: 0px 4px;
}

.l-btn.l-btn-plain {
    padding: 1px;
    margin: 0px;
}

.l-btn.l-btn-plain:hover {
    border-radius: 2px;
    background: #e2e2e2;
    color: #000000;
    padding: 0px;
    border: 1px solid #ccc;
}


/* 强调按钮 */

.l-btn.color1,
.l-btn.color1 .l-btn-icon {
    color: #fff;
    border: 1px solid #e02e24;
    background: #e02e24;
}

.l-btn.color1:hover {
    opacity: 0.9;
}

.l-btn.color2 {
    border: 1px solid #dedede;
    background: #f1f1f1;
    color: #333;
}

.l-btn.color2:hover {
    opacity: 0.9;
}


/* datagrid 行选中背景 */

.datagrid-row-selected {
    background: #E2E2E2;
}

.textbox,
.textbox .textbox-text {
    border-radius: 2px;
}

.combobox-item,
.combobox-group {
    min-height: 12px;
}


/** 预览图片 **/

.image_pre {
    max-width: 150px;
    max-height: 150px;
    padding: 2px;
    display: none;
}

.image_pre img {
    max-width: 100%;
    max-height: 150px;
}


/** 以下是ljf新加**/


/** 重新定义开关按钮的底色 **/

.switchbutton-on {
    background: #e02e24 none repeat scroll 0 0;
    color: #fff;
}


/** 下拉框被选中项颜色 **/
.combobox-item-selected {
    background-color: #E2E2E2;
    color: #e02e24;
}

/** 数据行被选中字体颜色 **/
.datagrid-row-selected {
    color: #e02e24;
}